package com.liu.project.service;

import com.liu.project.pojo.Major;
import com.liu.project.pojo.Subject;

import java.util.List;

/**
 * @program: project
 * @description:
 * @author: 86187
 * @create: 2022-03-20 15:44
 **/


public interface MajorService {

    List<Major> getAll();

    List<Major> getMajorByKey(String key);

    double getNameById(int id);
}
